header {
  height: 50px;
  background-color: #4294ff;

  #goBack {
    font-size: 24px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 994;

    color: #fff;
  }
}

main {
  background: #f9f9f9;

}

.data-top {
  height: 290px;
  background-color: #4294ff;
  padding: 16px 0;

  .data-content {
    display: flex;
    flex-direction: column;
    justify-content: space-around;

    .info {
      display: flex;
      justify-content: space-between;

      img {
        width: 60px;
        height: 60px;
        background-color: #fff;
        border-radius: 50%;
        border: 1px solid #fff;
        box-sizing: border-box;
      }
    }
  }


  // 总运动和消耗
  .sum-consume {
    display: flex;
    justify-content: space-between;

    div {
      display: flex;
      flex-direction: column;

      .color {
        color: #aad9f7;
        font-size: 16px;
      }

      p {
        font-size: 16px;
        margin-top: 10px;
        color: #fff;

        span {
          font-size: 40px;
          color: #fff;
        }
      }

    }

    div:last-child {
      flex: 1;
      margin-left: 36px;
      padding-left: 40px;
      border-left: 1px dashed #fff;
    }
  }

}

// 运动数据
.sport-d {
  display: flex;
  justify-content: space-between;

  div {
    display: flex;
    flex-direction: column;

    .color {
      color: #aad9f7;
      font-size: 16px;
    }

   p{
    margin-top: 10px;
    span{
      color: #fff;
      font-size: 16px;
      font-weight: bold;
    }
   }
  }
}
//柱状图
#duration,#sportsType,#weekSportsType,#trainNum{
  width: 90%;
  height: 260px;
  border-radius: 15px;
  padding: 6px 3px;
  background-color: #fff;
}